package sanrenxing.dayEnd.backRepertoryTotal.domain;

import java.io.Serializable;

/**
 * 功能：券商设置实体类
 * 编写者：蒋玲苹
 * 日期：2021-03-17
 * 版本：1.0
 */
public class SettingOfSecurities implements Serializable {
    //券商编号
    private String stockId;
    //券商名称
    private String stockName;
    //券商说明
    private String explain;
    //券商备注
    private String notes;
    //默认构造方法
    public SettingOfSecurities() {

    }
    //构造方法
    public SettingOfSecurities(String stockId, String stockName, String explain, String notes) {
        this.stockId = stockId;
        this.stockName = stockName;
        this.explain = explain;
        this.notes = notes;
    }
    //set和get方法
    public String getStockId() {
        return stockId;
    }

    public void setStockId(String stockId) {
        this.stockId = stockId;
    }

    public String getStockName() {
        return stockName;
    }

    public void setStockName(String stockName) {
        if(stockName.trim().equals("")){
            this.stockName=null;
        }else
        this.stockName = stockName;
    }

    public String getExplain() {
        return explain;
    }

    public void setExplain(String explain) {
        this.explain = explain;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }
}
